import req from '@/utils/request'
export function getGoodsList(params) {
  return req.get('/goods/list', params)
}

export function getGoodsAdd(params) {
  return req.post('/goods/add', params)
}

export function getGoodsImgUpload(params) {
  return req.post('/goods/goods_img_upload', params)
}

export function getGoodsCategories(params) {
  return req.get('/goods/categories', params)
}